[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Odd                      Tests If an Integer Is Odd or Even

 Odd(IVal : Integer) : Boolean;

    This function returns TRUE if IVal is odd--i.e., IVal mod 2 = 1. If
    IVal is not odd, FALSE is returned.

            IVal    An integer value (constant, variable, function call,
                    or expression).

         Limits:    none

  -------------------------------- Example ---------------------------------

           Flag := Odd(21);         { Flag = True }

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson